feat: pre-build Docker image and push to Docker Hub for faster setup#1
Merged
Merged
Conversation
- Fix rust-analyzer "can't find crate for test" by adding check.allTargets: false - Add rust-toolchain.toml to pin toolchain version, target, and components - Add cargo-binutils and llvm-tools to Dockerfile for binary inspection/disassembly - Add defmt-test for on-target embedded testing with example test Agent-Logs-Url: https://github.com/Baker-link-Lab/bakerlink_tutorial_template/sessions/f183cbad-512b-43ab-a93c-048310787e22 Co-authored-by: Baker-Tanaka <42606588+Baker-Tanaka@users.noreply.github.com>
- Add GitHub Actions workflow to build/push image on Dockerfile changes
- Update compose.yaml to pull pre-built bakerlinklab/bakerlink-env:latest
- Add .github/ to cargo-generate ignore list to protect ${{ }} syntax
Agent-Logs-Url: https://github.com/Baker-link-Lab/bakerlink_tutorial_template/sessions/a073b2f3-6935-476b-be2a-58f9cef53054
Co-authored-by: Baker-Tanaka <42606588+Baker-Tanaka@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
Baker-Tanaka
March 31, 2026 14:50
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Eliminates local Docker builds by publishing a pre-built dev image to Docker Hub. Users pull
bakerlinklab/bakerlink-env:latestinstead of building from the Dockerfile on everydocker compose up.CI/CD
.github/workflows/docker-publish.yml— builds and pushes on Dockerfile changes tomain, plusworkflow_dispatchfor manual runsDOCKERHUB_USERNAMEandDOCKERHUB_TOKENrepository secrets (already configured)Docker
llvm-toolsandcargo-binutilsto Dockerfile for binary inspection (cargo objdump,cargo size)compose.yamlfrom localbuild:to pre-builtimage: bakerlinklab/bakerlink-env:latestToolchain & Build
rust-toolchain.tomlpinning Rust 1.86.0, targetthumbv6m-none-eabi, and required componentsrust-analyzer.check.allTargets: falseto VS Code settings (suppresses false errors onno_stdtargets)Testing
defmt-testdev-dependency and example on-device test scaffold intests/example_test.rsTemplate
.github/fromcargo-generatesubstitution so workflow files aren't mangled by placeholder expansion